import request from "@/utils/request";
//微信支付接口

//获取二维码
export function getNative(data) {
  return request({
    url: "/weixinPay/createNative",
    method: "post",
    data: data
  });
}

//获取支付状态
export function getOrderStatus(orderSn) {
  return request({
    url: "/weixinPay/statusQuery/" + orderSn,
    method: "get"
  });
}